import {h, resolveComponent} from 'vue'
const IvzDateTime = (props, {attrs, slots}) => {
        let dateType = attrs['type'];
        let ele = 'a-date-picker';
        if(dateType == 'time') {
            ele = 'a-time-picker'
        } else if(dateType == 'week') {
            ele = 'a-week-picker'
        } else if(dateType == 'range') {
            ele = 'a-range-picker'
        } else if(dateType == 'month'){
            ele = 'a-month-picker'
        }

        return h(resolveComponent(ele), attrs, slots);
}

export {IvzDateTime}
